﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Nha_Hang_Khach_San.Web
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "INHKSService" in both code and config file together.
    [ServiceContract]
    public interface INHKSService
    {
        #region Upload & Dowload
        [OperationContract]
        bool Upload(PictureFile picture);

        [OperationContract]
        PictureFile Dowload(string pictureName);
        #endregion

        #region So do phòng
        [OperationContract]
        List<SoDoKhuVuc> GetDSKhuVuc();

        [OperationContract]
        List<SoDoPhong> GetDSPhong();

        [OperationContract]
        List<SoDoPhong> GetPhongTrong(DateTime ngay);

        [OperationContract]
        List<ImgList> GetDSHinhAnh(string tenPhong);

        [OperationContract]
        string getFirstImage(string tenphong);

        [OperationContract]
        string GetLoaiPhong(string tenPhong);

        [OperationContract]
        string GetDonGiaPhong(string tenPhong);

        [OperationContract]
        string GetNhomPhong(string tenPhong);

        [OperationContract]
        string GetMoTaPhong(string tenPhong);
        #endregion
    }
}
